<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>全局异常处理编程演示</title>
    <style>
        #menu {
            margin: 10px auto 0;
        }

        #menu ul {
            padding: 0px;
        }

        #menu ul li {
            float: left;
            list-style: none;
            margin: 5px;
        }

        a {
            color: black;
            text-decoration: none;
        }

        a:visited {
            color: black;
        }

        a:hover {
            color: blue;
            border-bottom: 1px dashed blue;
        }

    </style>
</head>
<body>

<h2>全局异常处理编程演示</h2>

<!--导航菜单-->
<div id="menu">
    <ul>
        <li><a href='/'>首页</a> |</li>
        <li><a href='/1'>1-运行时异常</a> |</li>
        <li><a href='/2'>2-空对象引用异常</a> |</li>
        <li><a href='/3'>3-参数异常</a> |</li>
        <li><a href='/4'>4-其它异常</a></li>
    </ul>
</div>

</body>
</html>